package com.xuesi.demoadmin.service.impl;

import java.util.List;

import com.xuesi.demoadmin.entity.Role;
import com.xuesi.demoadmin.mapper.RoleMapper;
import com.xuesi.demoadmin.service.IRoleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements IRoleService {
    @Autowired
    private RoleMapper roleMapper;

    /**
     * 查询角色列表
     * 
     * @param role 角色信息
     * @return 角色列表
     */
    @Override
    public List<Role> selectRoleList(Role role) {
        return this.roleMapper.selectRoleList(role);
    }
}
